package cn.com.headfree.sysmenu.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * 统菜单表
 */
public class OrgDeptVo{

    /**
     * 主键
     */
    private String id;

    /**
     * 名称
     */
    private String name;

    /**
     * 有效期开始时间
     */
    private String limitStart;

    /**
     * 有效期结束时间，未设定，默认设置0，表示未限制
     */
    private String limitEnd;

    /**
     * 父节点ID
     */
    private String pId;

    /**
     * 部门路径
     */
    private String path;

    /**
     * 部门级别
     */
    private String level;

    /**
     * 该单位是否绑定流程0:是,1:否
     * @return
     */
    private Integer isAuditUnit;

    private Integer isHeadDept;//是否是本部能查看到子单位

    private Integer sort;//排序

    /** 子菜单 */
    private List<OrgDeptVo> children = new ArrayList<OrgDeptVo>();

    public OrgDeptVo() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLimitStart() {
        return limitStart;
    }

    public void setLimitStart(String limitStart) {
        this.limitStart = limitStart;
    }

    public String getLimitEnd() {
        return limitEnd;
    }

    public void setLimitEnd(String limitEnd) {
        this.limitEnd = limitEnd;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Integer getIsAuditUnit() {
        return isAuditUnit;
    }

    public void setIsAuditUnit(Integer isAuditUnit) {
        this.isAuditUnit = isAuditUnit;
    }

    public Integer getIsHeadDept() {
        return isHeadDept;
    }

    public void setIsHeadDept(Integer isHeadDept) {
        this.isHeadDept = isHeadDept;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<OrgDeptVo> getChildren()
    {
        return children;
    }

    public void setChildren(List<OrgDeptVo> children)
    {
        this.children = children;
    }
}
